<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>快速开始 | Sakura</title>
    <meta name="description" content="Intuitive, type safe, light and flexible Store for Vue">
    <meta name="generator" content="VitePress v1.6.3">
    <link rel="preload stylesheet" href="/assets/style.BfYLPI5H.css" as="style">
    <link rel="preload stylesheet" href="/vp-icons.css" as="style">
    <script type="module" src="/assets/chunks/metadata.550c04ff.js"></script>
    <script type="module" src="/assets/app.Cg95mKDs.js"></script>
    <link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/assets/chunks/theme.BLgPf3G8.js">
    <link rel="modulepreload" href="/assets/chunks/framework.DmV6WhQo.js">
    <link rel="modulepreload" href="/assets/1.使用指南_2.快速开始_index.md.XLSyPPTZ.lean.js">
    <link rel="icon" type="image/svg+xml" href="/logo.svg">
    <link rel="icon" type="image/png" href="/logo.png">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css">
    <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>
    <meta name="wwads-cn-verify" content="5878a7ab84fb43402106c575658472fa">
    <meta property="og:type" content="website">
    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:image" content="https://pinia.vuejs.org/social.png">
    <script src="https://cdn.usefathom.com/script.js" data-site="KFPPRRIS" data-spa="auto" defer></script>
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"dark",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
    <meta property="og:url" content="https://pinia.vuejs.org">
    <meta property="og:description" content="Intuitive, type safe, light and flexible Store for Vue">
    <meta property="twitter:url" content="https://pinia.vuejs.org">
    <meta property="twitter:title" content="Pinia 🍍">
    <meta property="twitter:description" content="Intuitive, type safe, light and flexible Store for Vue">
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-f4468d7a><!--[--><!--]--><!--[--><span tabindex="-1" data-v-e447c754></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-e447c754>Skip to content</a><!--]--><!----><header class="VPNav" data-v-f4468d7a data-v-cc9dd77b><div class="VPNavBar" data-v-cc9dd77b data-v-98ffb67c><div class="wrapper" data-v-98ffb67c><div class="container" data-v-98ffb67c><div class="title" data-v-98ffb67c><div class="VPNavBarTitle has-sidebar" data-v-98ffb67c data-v-4b503d9c><a class="title" href="/" data-v-4b503d9c><!--[--><!--]--><!--[--><img class="VPImage logo" src="/logo.svg" alt data-v-f4527aeb><!--]--><span data-v-4b503d9c>Sakura</span><!--[--><!--]--></a></div></div><div class="content" data-v-98ffb67c><div class="content-body" data-v-98ffb67c><!--[--><!--]--><div class="VPNavBarSearch search" data-v-98ffb67c><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-98ffb67c data-v-ff561a0c><span id="main-nav-aria-label" class="visually-hidden" data-v-ff561a0c> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/1.%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97/1.%E4%BA%A7%E5%93%81%E7%AE%80%E4%BB%8B/index" tabindex="0" data-v-ff561a0c data-v-562e3cbe><!--[--><span data-v-562e3cbe>Guide</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/2.使用手册/0.流程图/index.html" tabindex="0" data-v-ff561a0c data-v-562e3cbe><!--[--><span data-v-562e3cbe>Manual</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/3.其它/1.常见问题/index.html" tabindex="0" data-v-ff561a0c data-v-562e3cbe><!--[--><span data-v-562e3cbe>Q&A</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/3.其它/3.赞助支持/index.html" tabindex="0" data-v-ff561a0c data-v-562e3cbe><!--[--><span data-v-562e3cbe>Sponsor💖</span><!--]--></a><!--]--><!--[--><a class="VPLink link vp-external-link-icon VPNavBarMenuLink" href="https://www.sakura.hk.cn:28383" target="_blank" rel="noreferrer" tabindex="0" data-v-ff561a0c data-v-562e3cbe><!--[--><span data-v-562e3cbe>Experience</span><!--]--></a><!--]--><!--]--></nav><div class="VPFlyout VPNavBarTranslations translations" data-v-98ffb67c data-v-7787f7b2 data-v-c07e882e><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="Change language" data-v-c07e882e><span class="text" data-v-c07e882e><span class="vpi-languages option-icon" data-v-c07e882e></span><!----><span class="vpi-chevron-down text-icon" data-v-c07e882e></span></span></button><div class="menu" data-v-c07e882e><div class="VPMenu" data-v-c07e882e data-v-3d7ad723><!----><!--[--><!--[--><div class="items" data-v-7787f7b2><p class="title" data-v-7787f7b2>English</p><!--[--><div class="VPMenuLink" data-v-7787f7b2 data-v-f7d422d7><a class="VPLink link" href="/src/zh/1.使用指南/2.快速开始/" data-v-f7d422d7><!--[--><span data-v-f7d422d7>简体中文</span><!--]--></a></div><!--]--></div><!--]--><!--]--></div></div></div><div class="VPNavBarAppearance appearance" data-v-98ffb67c data-v-3e6de47a><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="true" data-v-3e6de47a data-v-4698b85c data-v-3726b66d><span class="check" data-v-3726b66d><span class="icon" data-v-3726b66d><!--[--><span class="vpi-sun sun" data-v-4698b85c></span><span class="vpi-moon moon" data-v-4698b85c></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-98ffb67c data-v-3e576fcb data-v-42baa202><!--[--><a class="VPSocialLink no-icon" href="https://github.com/SakuraTechy/Sakura.Automation.Platform.Api" aria-label="github" target="_blank" rel="noopener" data-v-42baa202 data-v-27dc7f6e><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://gitee.com/SakuraTech/Sakura.Automation.Platform.Api" aria-label target="_blank" rel="noopener" data-v-42baa202 data-v-27dc7f6e><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>码云</title><path d="M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.016 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.592.592 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-98ffb67c data-v-6e90f605 data-v-c07e882e><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-c07e882e><span class="vpi-more-horizontal icon" data-v-c07e882e></span></button><div class="menu" data-v-c07e882e><div class="VPMenu" data-v-c07e882e data-v-3d7ad723><!----><!--[--><!--[--><div class="group translations" data-v-6e90f605><p class="trans-title" data-v-6e90f605>English</p><!--[--><div class="VPMenuLink" data-v-6e90f605 data-v-f7d422d7><a class="VPLink link" href="/src/zh/1.使用指南/2.快速开始/" data-v-f7d422d7><!--[--><span data-v-f7d422d7>简体中文</span><!--]--></a></div><!--]--></div><div class="group" data-v-6e90f605><div class="item appearance" data-v-6e90f605><p class="label" data-v-6e90f605>Appearance</p><div class="appearance-action" data-v-6e90f605><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="true" data-v-6e90f605 data-v-4698b85c data-v-3726b66d><span class="check" data-v-3726b66d><span class="icon" data-v-3726b66d><!--[--><span class="vpi-sun sun" data-v-4698b85c></span><span class="vpi-moon moon" data-v-4698b85c></span><!--]--></span></span></button></div></div></div><div class="group" data-v-6e90f605><div class="item social-links" data-v-6e90f605><div class="VPSocialLinks social-links-list" data-v-6e90f605 data-v-42baa202><!--[--><a class="VPSocialLink no-icon" href="https://github.com/SakuraTechy/Sakura.Automation.Platform.Api" aria-label="github" target="_blank" rel="noopener" data-v-42baa202 data-v-27dc7f6e><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://gitee.com/SakuraTech/Sakura.Automation.Platform.Api" aria-label target="_blank" rel="noopener" data-v-42baa202 data-v-27dc7f6e><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>码云</title><path d="M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.016 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.592.592 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-98ffb67c data-v-e8104da4><span class="container" data-v-e8104da4><span class="top" data-v-e8104da4></span><span class="middle" data-v-e8104da4></span><span class="bottom" data-v-e8104da4></span></span></button></div></div></div></div><div class="divider" data-v-98ffb67c><div class="divider-line" data-v-98ffb67c></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-f4468d7a data-v-f414f456><div class="container" data-v-f414f456><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-f414f456><span class="vpi-align-left menu-icon" data-v-f414f456></span><span class="menu-text" data-v-f414f456>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-f414f456 data-v-410b07a5><button data-v-410b07a5>返回顶部</button><!----></div></div></div><aside class="VPSidebar" data-v-f4468d7a data-v-d9d2e79b><div class="curtain" data-v-d9d2e79b></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-d9d2e79b><span class="visually-hidden" id="sidebar-aria-label" data-v-d9d2e79b> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-0f5b6f63><section class="VPSidebarItem level-0 collapsible has-active" data-v-0f5b6f63 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h2 class="text" data-v-77ed1583>使用指南</h2><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/1.使用指南/1.产品简介/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>产品简介</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/1.使用指南/2.快速开始/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>快速开始</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/1.使用指南/3.本地开发/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>本地开发</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/1.使用指南/4.项目结构/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>项目结构</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-0f5b6f63><section class="VPSidebarItem level-0 collapsible" data-v-0f5b6f63 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h2 class="text" data-v-77ed1583>使用手册</h2><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/0.流程图/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>流程图</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/1.注册登录/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>注册登录</p><!--]--></a><!----></div><!----></div><section class="VPSidebarItem level-1 collapsible" data-v-77ed1583 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h3 class="text" data-v-77ed1583>项目管理</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/2.项目管理/1.项目配置/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>项目配置</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/2.项目管理/2.环境配置/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>环境配置</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/2.项目管理/3.自动化配置/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>自动化配置</p><!--]--></a><!----></div><!----></div><!--]--></div></section><section class="VPSidebarItem level-1 collapsible" data-v-77ed1583 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h3 class="text" data-v-77ed1583>测试管理</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/3.测试管理/1.测试场景/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>测试场景</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/3.测试管理/2.测试计划/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>测试计划</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/3.测试管理/3.测试报告/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>测试报告</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/3.测试管理/4.定时任务/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>定时任务</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/3.测试管理/5.测试度量/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>测试度量</p><!--]--></a><!----></div><!----></div><!--]--></div></section><section class="VPSidebarItem level-1 collapsible" data-v-77ed1583 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h3 class="text" data-v-77ed1583>接口管理</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/4.接口管理/1.接口测试/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>接口测试</p><!--]--></a><!----></div><!----></div><!--]--></div></section><section class="VPSidebarItem level-1 collapsible" data-v-77ed1583 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h3 class="text" data-v-77ed1583>自动化管理</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-2 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/2.使用手册/5.自动化管理/1.UI自动化/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>UI自动化</p><!--]--></a><!----></div><!----></div><!--]--></div></section><!--]--></div></section></div><div class="no-transition group" data-v-0f5b6f63><section class="VPSidebarItem level-0 collapsible" data-v-0f5b6f63 data-v-77ed1583><div class="item" role="button" tabindex="0" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><h2 class="text" data-v-77ed1583>其它</h2><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-77ed1583><span class="vpi-chevron-right caret-icon" data-v-77ed1583></span></div></div><div class="items" data-v-77ed1583><!--[--><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/3.其它/1.常见问题/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>常见问题</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/3.其它/2.问卷调查/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>问卷调查</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-77ed1583 data-v-77ed1583><div class="item" data-v-77ed1583><div class="indicator" data-v-77ed1583></div><a class="VPLink link link" href="/3.其它/3.赞助支持/index.html" data-v-77ed1583><!--[--><p class="text" data-v-77ed1583>赞助支持 💖</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-f4468d7a data-v-d45605be><div class="VPDoc has-sidebar has-aside" data-v-d45605be data-v-33eb8004><!--[--><!--]--><div class="container" data-v-33eb8004><div class="aside" data-v-33eb8004><div class="aside-curtain" data-v-33eb8004></div><div class="aside-container" data-v-33eb8004><div class="aside-content" data-v-33eb8004><div class="VPDocAside" data-v-33eb8004 data-v-9d4c520d><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-9d4c520d data-v-ce6f73d4><div class="content" data-v-ce6f73d4><div class="outline-marker" data-v-ce6f73d4></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-ce6f73d4>On This Page</div><ul class="VPDocOutlineItem root" data-v-ce6f73d4 data-v-69b40bfa><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-9d4c520d></div><!--[--><!--]--><div class="VPDocAsideCarbonAds" data-v-9d4c520d><div class="VPCarbonAds" data-v-35185ad4></div></div><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-33eb8004><div class="content-container" data-v-33eb8004><!--[--><!--]--><main class="main" data-v-33eb8004><div style="position:relative;" class="vp-doc _1_%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97_2_%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B_" data-v-33eb8004><div><h1 id="快速开始" tabindex="-1">快速开始 <a class="header-anchor" href="#快速开始" aria-label="Permalink to &quot;快速开始&quot;">​</a></h1><h2 id="环境准备" tabindex="-1">环境准备 <a class="header-anchor" href="#环境准备" aria-label="Permalink to &quot;环境准备&quot;">​</a></h2><h3 id="服务器要求" tabindex="-1">服务器要求 <a class="header-anchor" href="#服务器要求" aria-label="Permalink to &quot;服务器要求&quot;">​</a></h3><p>准备一台服务器（虚拟机，实体机，阿里云，腾讯云，华为云）都可以，要求如下：</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>公司部署使用，推荐内部虚拟机或实体机服务器，可以通过内网访问，速度相对较快，一般没有带宽限制</p><p>个人部署使用，推荐本地虚拟机或在线云服务器，可以通过外网访问，速度相对较慢，一般会有带宽限制</p></div><ul><li>CPU：4核或8核（推荐 8核）</li><li>内存：8G或16G（推荐 16G）</li><li>硬盘：200G或400G（推荐系统盘200G + 数据盘200G）</li><li>网络：可访问互联网</li></ul><h3 id="ISO-镜像制作" tabindex="-1">ISO 镜像制作 <a class="header-anchor" href="#ISO-镜像制作" aria-label="Permalink to &quot;ISO 镜像制作&quot;">​</a></h3><p>当前使用Mondo Rescue进行Linux系统ISO文件镜像制作，可进行备份和还原。</p><ul><li>官方地址：<a href="http://www.mondorescue.org/" target="_blank" rel="noreferrer">点击访问</a></li><li>使用教程：<a href="https://www.cnblogs.com/safe-rabbit/p/17550182.html" target="_blank" rel="noreferrer">点击访问</a></li></ul><p><img src="/assets/image.BUcxpAwj.png" alt="alt text" data-fancybox="gallery"></p><h3 id="ISO-镜像下载" tabindex="-1">ISO 镜像下载 <a class="header-anchor" href="#ISO-镜像下载" aria-label="Permalink to &quot;ISO 镜像下载&quot;">​</a></h3><p>下载地址： <a href="https://www.alipan.com/s/HH9CMavxNnw/folder/66cd7ae876ac4fb2fbeb440a95f4c7784ebea457" target="_blank" rel="noreferrer">点击下载，如失效，请联系作者</a></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>当前镜像文件已经上传至阿里云盘，压缩为.png格式文件，恢复后方可使用，操作如下：</p><ul><li>下载恢复程序：【zipShare_x64.exe】</li><li>下载镜像文件：【Sakura.Automation.Platform_V1.0.0_CentOS-7.6_x86_64.iso.png】</li><li>恢复安装镜像： <ul><li>启动【zipShare_x64.exe】</li><li>拖入【Sakura.Automation.Platform_V1.0.0_CentOS-7.6_x86_64.iso.png】到窗口即可</li></ul></li></ul></div><p><img src="/assets/image-33.Bsa73f-X.png" alt="alt text" data-fancybox="gallery"><img src="/assets/image-34.DDzu5DQh.png" alt="alt text" data-fancybox="gallery"></p><h2 id="虚拟机部署" tabindex="-1">虚拟机部署 <a class="header-anchor" href="#虚拟机部署" aria-label="Permalink to &quot;虚拟机部署&quot;">​</a></h2><h3 id="安装教程" tabindex="-1">安装教程 <a class="header-anchor" href="#安装教程" aria-label="Permalink to &quot;安装教程&quot;">​</a></h3><p>推荐使用VMware Workstation，下载最新版本，采用默认设置安装即可。</p><ul><li>官方地址：<a href="https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html" target="_blank" rel="noreferrer">点击访问</a></li><li>官方教程：<a href="https://www.vmware.com/support/ws55/doc/ws_new_install.html" target="_blank" rel="noreferrer">点击访问</a></li></ul><h3 id="创建虚拟机" tabindex="-1">创建虚拟机 <a class="header-anchor" href="#创建虚拟机" aria-label="Permalink to &quot;创建虚拟机&quot;">​</a></h3><ul><li>启动虚拟机，创建新的虚拟机</li><li><img src="/assets/image-1.23qOoDDo.png" alt="alt text" data-fancybox="gallery"></li><li>采用镜像安装方式，选择下载ISO镜像文件 <img src="/assets/image-2.Dsy3yd5C.png" alt="alt text" data-fancybox="gallery"></li><li>选择Linux客户端操作系统和版本 <img src="/assets/image-3.C5fMse0J.png" alt="alt text" data-fancybox="gallery"></li><li>指定虚拟机名称和安装位置 <img src="/assets/image-4.DaOI7iqE.png" alt="alt text" data-fancybox="gallery"></li><li>设置磁盘容量大小 <img src="/assets/image-5.DORaU-I-.png" alt="alt text" data-fancybox="gallery"></li><li>完成创建 <img src="/assets/image-6.DyT8tIsz.png" alt="alt text" data-fancybox="gallery"></li><li>修改内存和CPU配置 <img src="/assets/image-7.CEYln1aJ.png" alt="alt text" data-fancybox="gallery"></li></ul><h3 id="启动虚拟机" tabindex="-1">启动虚拟机 <a class="header-anchor" href="#启动虚拟机" aria-label="Permalink to &quot;启动虚拟机&quot;">​</a></h3><ul><li>完成创建虚拟机后，启动该虚拟机，输入【nuke】恢复系统 <img src="/assets/image-8.BJk2ASJZ.png" alt="alt text" data-fancybox="gallery"></li><li>自动恢复中，等待恢复完成 <img src="/assets/image-9.CXUBxHwv.png" alt="alt text" data-fancybox="gallery"></li><li>恢复完成后，选择ok <img src="/assets/image-10.DgBx9STT.png" alt="alt text" data-fancybox="gallery"></li><li>输入exit，退出自动重启系统 <img src="/assets/image-11.B13hO-DH.png" alt="alt text" data-fancybox="gallery"></li><li>重启系统后，选择第二个启动项进入系统，使用默认账号和密码登录</li></ul><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li><p>账号：root</p></li><li><p>密码：3edc$RFV</p></li></ul></div><p><img src="/assets/image-22.Bx5MTHtm.png" alt="alt text" data-fancybox="gallery"><img src="/assets/image-12.u154NemR.png" alt="alt text" data-fancybox="gallery"></p><h2 id="实体机部署" tabindex="-1">实体机部署 <a class="header-anchor" href="#实体机部署" aria-label="Permalink to &quot;实体机部署&quot;">​</a></h2><h3 id="软件下载" tabindex="-1">软件下载 <a class="header-anchor" href="#软件下载" aria-label="Permalink to &quot;软件下载&quot;">​</a></h3><p>推荐使用UltraISO，下载最新版本，采用默认设置安装即可。</p><ul><li>官方地址：<a href="https://cn.ultraiso.net/xiazai.html" target="_blank" rel="noreferrer">点击访问</a></li><li>官方教程：<a href="https://cn.ultraiso.net/jiaochengzhongxin.html" target="_blank" rel="noreferrer">点击访问</a></li></ul><h3 id="U盘启动" tabindex="-1">U盘启动 <a class="header-anchor" href="#U盘启动" aria-label="Permalink to &quot;U盘启动&quot;">​</a></h3><ul><li>双击打开UltraISO，点击文件-&gt;打开-&gt;选择下载好的ISO文件-&gt;打开。 <img src="/assets/image-13.BD7_-58C.png" alt="alt text" data-fancybox="gallery"></li><li>点击启动-&gt;写入硬盘映像。(写入方式建议使用USB-HDD+，隐藏启动分区选 无)。 <img src="/assets/image-14.CZPIF1AJ.png" alt="alt text" data-fancybox="gallery"></li><li>选择对应U盘，进行格式化，点击开始 <img src="/assets/image-15.BxnILUlK.png" alt="alt text" data-fancybox="gallery"></li><li>点击开始，弹出数据将格式化警告，确定后开始写入 <img src="/assets/image-16.BLrW72jE.png" alt="alt text" data-fancybox="gallery"></li><li>点击写入，选择是，耐心等待写入完成，制作成功！ <img src="/assets/image-17._aMNL_zX.png" alt="alt text" data-fancybox="gallery"><img src="/assets/image-18.Dh9O6yXr.png" alt="alt text" data-fancybox="gallery"></li><li>把U盘插到服务器，设置开机U盘启动，输入nuke，回车。 <img src="/assets/image-8.BJk2ASJZ.png" alt="alt text" data-fancybox="gallery"></li><li>自动恢复中，等待恢复完成 <img src="/assets/image-9.CXUBxHwv.png" alt="alt text" data-fancybox="gallery"></li><li>恢复完成后，选择ok <img src="/assets/image-10.DgBx9STT.png" alt="alt text" data-fancybox="gallery"></li><li>输入exit，退出自动重启系统 <img src="/assets/image-11.B13hO-DH.png" alt="alt text" data-fancybox="gallery"></li><li>重启系统后，选择第二个启动项进入系统，使用默认账号和密码登录</li></ul><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li><p>账号：root</p></li><li><p>密码：3edc$RFV</p></li></ul></div><p><img src="/assets/image-23.Bu1RTfpu.png" alt="alt text" data-fancybox="gallery"><img src="/assets/image-24.CYme2e06.png" alt="alt text" data-fancybox="gallery"></p><h2 id="修改IP地址" tabindex="-1">修改IP地址 <a class="header-anchor" href="#修改IP地址" aria-label="Permalink to &quot;修改IP地址&quot;">​</a></h2><p>进入系统后，修改IP地址，然后重启网络。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>修改前请先ping一下IP地址，确保该IP地址可用，且未被其他人使用，不然会IP冲突。</p></div><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes dracula-soft vitesse-light vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 查看网络信息</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">ip</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> a</span></span>
<span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 修改网卡配置文件名称为对应网卡名称</span></span>
<span class="line"><span style="--shiki-dark:#97E1F1;--shiki-light:#998418;">cd</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /etc/sysconfig/network-scripts/</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">mv</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> ifcfg-ens192</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> ifcfg-ens33</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> #这里的网卡名称为ens33，请根据实际情况修改</span></span>
<span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 修改IP地址</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">vi</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> ifcfg-ens33</span></span>
<span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 参考以下配置</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">TYPE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">Ethernet</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">PROXY_METHOD</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">none</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">BROWSER_ONLY</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">no</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> #默认是yes，修改为no</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">BOOTPROTO</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">static</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 默认是dhcp，修改为static</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">DEFROUTE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV4_FAILURE_FATAL</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 默认是no，修改为yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV6INIT</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV6_AUTOCONF</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV6_DEFROUTE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV6_FAILURE_FATAL</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">no</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPV6_ADDR_GEN_MODE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">stable-privacy</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">NAME</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">ens192</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 修改为自己的网卡名称，可通过【ip a】命令查看</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">UUID</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">6280f4db-5773-4760-b83c-e5fc57cc086c</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">DEVICE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">ens192</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 修改为自己的网卡名称，可通过【ip a】命令查看</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">ONBOOT</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">yes</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;">  # 默认是no，修改为yes</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">IPADDR</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">172.19.5.227</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 修改为你的IP地址，没有就新增</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">GATEWAY</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">172.19.5.1</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;">  # 修改为你的网关，没有就新增</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">NETMASK</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">255.255.255.0</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 修改为你的子网掩码，没有就新增</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">DNS1</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">114.114.114.114</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 修改为你的DNS，没有就新增</span></span>
<span class="line"><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;">ZONE</span><span style="--shiki-dark:#F286C4;--shiki-light:#999999;">=</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">public</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 重启网络</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">systemctl</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> restart</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> network</span></span></code></pre></div><h2 id="_1Panel面板配置" tabindex="-1">1Panel面板配置 <a class="header-anchor" href="#_1Panel面板配置" aria-label="Permalink to &quot;1Panel面板配置&quot;">​</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认已经安装好1Panel环境，可直接使用，需修改相关IP地址，详情请进入1Panel面板查看</p><ul><li>地址：<a href="http://172.19.5.227:28134/c0464ecc59" target="_blank" rel="noreferrer">http://172.19.5.227:28134/c0464ecc59</a> （地址中的IP请改为你的服务器IP）</li><li>账号：root</li><li>密码：3edc$RFV</li></ul></div><h3 id="修改主机名" tabindex="-1">修改主机名 <a class="header-anchor" href="#修改主机名" aria-label="Permalink to &quot;修改主机名&quot;">​</a></h3><ul><li>点击左侧工具箱菜单，修改主机名为自己的IP地址，例如172.19.5.227</li></ul><p><img src="/assets/image-30.6QwdsOtx.png" alt="alt text" data-fancybox="gallery"></p><h3 id="修改服务器地址" tabindex="-1">修改服务器地址 <a class="header-anchor" href="#修改服务器地址" aria-label="Permalink to &quot;修改服务器地址&quot;">​</a></h3><ul><li>点击左侧面板设置菜单，修改服务器为自己的IP地址，例如172.19.5.227</li></ul><p><img src="/assets/image-31.D-9teV5f.png" alt="alt text" data-fancybox="gallery"></p><h2 id="Docker配置" tabindex="-1">Docker配置 <a class="header-anchor" href="#Docker配置" aria-label="Permalink to &quot;Docker配置&quot;">​</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认已经安装好1Panel面板并搭建好Docker环境，可直接使用，详情请进入1Panel容器面板查看</p><ul><li>地址：<a href="http://172.19.5.227:28134/containers/container" target="_blank" rel="noreferrer">http://172.19.5.227:28134/containers/container</a> （地址中的IP请改为你的服务器IP）</li><li>账号：root</li><li>密码：3edc$RFV</li><li>路径：打开左侧容器菜单，点击顶部【配置】菜单，启动docker容器，如无法启动，请查看 <a href="/3.其它/1.常见问题/#Docker无法启动-">常见问题</a></li></ul></div><p><img src="/assets/image-25.DhDX7-5i.png" alt="alt text" data-fancybox="gallery"></p><h2 id="Jenkins配置" tabindex="-1">Jenkins配置 <a class="header-anchor" href="#Jenkins配置" aria-label="Permalink to &quot;Jenkins配置&quot;">​</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认已经搭建好Jenkins环境，可直接使用，详情请进入1Panel容器面板查看</p><ul><li>地址：<a href="http://172.19.5.227:28134/containers/container" target="_blank" rel="noreferrer">http://172.19.5.227:28134/containers/container</a> （地址中的IP请改为你的服务器IP）</li><li>账号：root</li><li>密码：3edc$RFV</li><li>路径：打开左侧容器菜单，点击顶部【容器】菜单，启动Jenkins容器，如无法启动，请查看 <a href="/3.其它/1.常见问题/#Docker无法启动-">常见问题</a></li></ul></div><p><img src="/assets/image-26.yxjQMQfw.png" alt="alt text" data-fancybox="gallery"></p><h3 id="Jenkins-URL修改" tabindex="-1">Jenkins URL修改 <a class="header-anchor" href="#Jenkins-URL修改" aria-label="Permalink to &quot;Jenkins URL修改&quot;">​</a></h3><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li>访问：<a href="http://172.19.5.227:8080/manage/configure" target="_blank" rel="noreferrer">http://172.19.5.227:8080/manage/configure</a> （地址中的IP请改为你的服务器IP）</li><li>账号：sakura</li><li>密码：3edc$RFV</li><li>路径：【系统管理】-【系统配置】，修改 Jenkins URL为 自己的IP地址，点击保存</li></ul></div><p><img src="/assets/image-32.Bwbx4jZa.png" alt="alt text" data-fancybox="gallery"></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li>访问：<a href="http://172.19.5.227:8080/view/%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/" target="_blank" rel="noreferrer">http://172.19.5.227:8080/view/自动化测试平台/</a> （地址中的IP请改为你的服务器IP）</li><li>账号：sakura</li><li>密码：3edc$RFV</li></ul></div><h3 id="前端项目部署" tabindex="-1">前端项目部署 <a class="header-anchor" href="#前端项目部署" aria-label="Permalink to &quot;前端项目部署&quot;">​</a></h3><ul><li>点击顶部自动化测试平台标签，选择【Sakura.Automation.Platform.Web.Deploy】项目</li><li>点击左侧【Build with Parameters】，【服务器IP】填写自己的，【发布版本】默认，【分支版本】选择【test】</li><li>点击【Build】进行构建，构建失败则重新构建，等待构建成功</li></ul><p><img src="/assets/image-27.WKt8OYtF.png" alt="alt text" data-fancybox="gallery"></p><h3 id="后端项目部署" tabindex="-1">后端项目部署 <a class="header-anchor" href="#后端项目部署" aria-label="Permalink to &quot;后端项目部署&quot;">​</a></h3><ul><li>点击顶部自动化测试平台标签，选择【Sakura.Automation.Platform.Api.Deploy】项目</li><li>点击左侧【Build with Parameters】，【发布版本】默认，【分支版本】选择【test】</li><li>点击【Build】进行构建，构建失败则重新构建，等待构建成功</li></ul><p><img src="/assets/image-28.D_w7hc1I.png" alt="alt text" data-fancybox="gallery"></p><h3 id="测试场景项目部署" tabindex="-1">测试场景项目部署 <a class="header-anchor" href="#测试场景项目部署" aria-label="Permalink to &quot;测试场景项目部署&quot;">​</a></h3><ul><li>点击顶部自动化测试平台标签，选择【Sakura.TestCase.Platform.Deploy】项目</li><li>点击左侧【Build with Parameters】，【发布版本】默认，【分支版本】选择【test】</li><li>点击【Build】进行构建，构建失败则重新构建，等待构建成功</li></ul><p><img src="/assets/image-29.BZ4ZqQN8.png" alt="alt text" data-fancybox="gallery"></p><h2 id="网站配置" tabindex="-1">网站配置 <a class="header-anchor" href="#网站配置" aria-label="Permalink to &quot;网站配置&quot;">​</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>默认已经安装好1Panel面板并创建好前端访问站点，可直接使用，详情请进入1Panel网站面板查看</p><ul><li>地址：<a href="http://172.19.5.227:28134/websites" target="_blank" rel="noreferrer">http://172.19.5.227:28134/websites</a> （地址中的IP请改为你的服务器IP）</li><li>账号：root</li><li>密码：3edc$RFV</li><li>路径：打开左侧网站菜单，选择172.19.5.227:8083 <ul><li>点击【其他】，修改主域名为【172.19.5.227:8083】（地址中的IP请改为你的服务器IP）</li><li>点击【配置文件】，修改内容参考如下，点击保存并重载</li></ul></li></ul></div><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes dracula-soft vitesse-light vp-code" tabindex="0"><code><span class="line"><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"># 参考以下配置</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">server</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> {</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    listen</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#2F798A;"> 8083</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;"> ;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    server_name</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#2F798A;"> 172.19.5.227</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 这里修改为你自己的IP地址</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    index</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> index.php</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> index.html</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> index.htm</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> default.php</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> default.htm</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> default.html</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    try_files</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $uri</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $uri</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">/</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /index.html</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> Host</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $host</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> X-Forwarded-For</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $proxy_add_x_forwarded_for</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> X-Forwarded-Host</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $server_name</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> X-Real-IP</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $remote_addr</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_http_version</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#2F798A;"> 1.1</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> Upgrade</span><span style="--shiki-dark:#BF9EEE;--shiki-light:#B07D48;"> $http_upgrade</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    proxy_set_header</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> Connection</span><span style="--shiki-dark:#DEE492;--shiki-light:#B5695977;"> &quot;</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">upgrade</span><span style="--shiki-dark:#DEE492;--shiki-light:#B5695977;">&quot;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    access_log</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /www/sites/sakura.automation.platform.web.prod/log/access.log</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    error_log</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /www/sites/sakura.automation.platform.web.prod/log/error.log</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    location</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> ^~</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /.well-known/acme-challenge</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> {</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">        allow</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> all</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">        root</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /usr/share/nginx/html</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;">    }</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    location</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /api</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> {</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">        rewrite</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> ^/api/</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">(</span><span style="--shiki-dark:#97E1F1;--shiki-light:#998418;">.</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">*</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">)</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;">$ </span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;">/</span><span style="--shiki-dark:#FFB86C;--shiki-dark-font-style:italic;--shiki-light:#B07D48;--shiki-light-font-style:inherit;">$1</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> break</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">        proxy_pass</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> http://172.19.5.227:8084</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#7B7F8B;--shiki-light:#A0ADA0;"> # 这里修改为你自己的IP地址</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">        index</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> index.html</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;">    }</span></span>
<span class="line"><span style="--shiki-dark:#62E884;--shiki-light:#59873A;">    root</span><span style="--shiki-dark:#E7EE98;--shiki-light:#B56959;"> /www/sites/sakura.automation.platform.web.test/index/dist</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#999999;">;</span><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;"> </span></span>
<span class="line"><span style="--shiki-dark:#F6F6F4;--shiki-light:#393A34;">}</span></span></code></pre></div><p><img src="/assets/image-20.D_BKMIQr.png" alt="alt text" data-fancybox="gallery"></p><h2 id="访问域名" tabindex="-1">访问域名 <a class="header-anchor" href="#访问域名" aria-label="Permalink to &quot;访问域名&quot;">​</a></h2><p>客户端通过浏览器访问以下地址，输入默认账号和密码，即可开始使用。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li>地址: <a href="http://172.19.5.227:8083" target="_blank" rel="noreferrer">http://172.19.5.227:8083</a>（地址中的IP请改为你的服务器IP）</li><li>账号：管理员</li><li>密码：111111</li><li>可自己注册账号使用</li></ul></div><p><img src="/assets/image-10.cjlHU8bg.png" alt="alt text" data-fancybox="gallery"></p></div></div></main><footer class="VPDocFooter" data-v-33eb8004 data-v-b67cf673><!--[--><!--[--><!--[--><!--[--><!----><!--]--><!--]--><!--]--><!--]--><div class="edit-info" data-v-b67cf673><div class="edit-link" data-v-b67cf673><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/SakuraTechy/sakura-docs/edit/dev/1.使用指南/2.快速开始/index.md" target="_blank" rel="noreferrer" data-v-b67cf673><!--[--><span class="vpi-square-pen edit-link-icon" data-v-b67cf673></span> Suggest changes to this page<!--]--></a></div><div class="last-updated" data-v-b67cf673><p class="VPLastUpdated" data-v-b67cf673 data-v-8dc6d9a3>最后更新于: <time datetime="2025-03-27T09:03:20.000Z" data-v-8dc6d9a3></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-b67cf673><span class="visually-hidden" id="doc-footer-aria-label" data-v-b67cf673>Pager</span><div class="pager" data-v-b67cf673><a class="VPLink link pager-link prev" href="/1.使用指南/1.产品简介/index.html" data-v-b67cf673><!--[--><span class="desc" data-v-b67cf673>Previous page</span><span class="title" data-v-b67cf673>产品简介</span><!--]--></a></div><div class="pager" data-v-b67cf673><a class="VPLink link pager-link next" href="/1.使用指南/3.本地开发/index.html" data-v-b67cf673><!--[--><span class="desc" data-v-b67cf673>Next page</span><span class="title" data-v-b67cf673>本地开发</span><!--]--></a></div></nav></footer><!--[--><!--[--><!--[--><div id="comment-container"></div><!--]--><!--]--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-f4468d7a data-v-856d5f9e><div class="container" data-v-856d5f9e><p class="message" data-v-856d5f9e>Released under the Apache-2.0 License.</p><p class="copyright" data-v-856d5f9e>Copyright © 2019-2025 SakuraTechy</p></div></footer><!--[--><!--]--></div></div>
    
    
  </body>
</html>